package com.guoyh.baseutils.ext

import androidx.fragment.app.Fragment
import com.alibaba.android.arouter.launcher.ARouter

/**
 * @CreateDate: 2021/8/9 9:51 上午
 * @Author: guoyh
 * @Description: java类作用描述
 */
fun getFragmentForPath(path: String) =
    ARouter.getInstance().build(path).navigation() as Fragment
